<%
    /**
     * 4List调用的打印js
     */
%>
<script>
    function print()
    {
        <%
        if(((ValueListHandler)request.getAttribute("valueListHandler")).getList().size() > 0)
        {
          %>try
            {
                openWinWithHWAndScrollBars("<%= request.getContextPath()%>/common/List/print/ini.jsp?serviceURL=<%= request.getParameter("serviceURL")%>","printWin",(window.screen.height - 200),(window.screen.width - 50));
    //            window.open("<%= request.getContextPath()%>/common/List/print/ini.jsp");
            }
            catch(error)
            {
                alert(error);
            }<%
        }
        else
        {
            %>
                alert("无记录可供打印");
            <%
        }%>
    }
</script>
